	import http from '@/utils/request.js';
	import httpV2 from '@/utils/request-v2.js';

	// 发送验证码
	const _getCode = (data) => {
		return http({
			url: "/Sms/Send/VerificationCode",
			method: "post",
			data
		})
	}

	// 验证 验证码
	const _checkCode = (data) => {
		return http({
			url: "/Sms/Check/VerificationCode",
			method: "post",
			data
		})
	}

	// 发送code获取登陆信息
	const _sendCode = (code) => {
		return http({
			url: "/WxOpen/Login?code=" + code,
			method: "post",
			data: {
				code,
			},
		})
	}
	// 发送code获取openid
	const _getOpenid = (code) => {
		return http({
			url: "/WxOpen/FindOpenId?code=" + code,
			method: "post",
			data: {
				code,
			},
		})
	}
	// 上传微信用户信息
	const _uploadWechatInfo = (data) => {
		return http({
			url: "/WxOpen/WeChatInfoSync",
			method: "get",
			contentType: "application/x-www-form-urlencoded;charset=utf-8",
			data,
		})
	}

	// 注册用户
	const _registeredUser = (data) => {
		return http({
			url: "/WxOpen/Register/User",
			method: "post",
			data,
		})
	}

	// 根据店代码获取职位列表
	const _getRoleList = (shopId) => {
		return http({
			url: "/Role/FindList/public?shopId=" + shopId,
			method: "get",
		})
	}

	// 获取工作台任务列表-今日进行
	const _getWorkDoList = (data) => {
		return http({
			url: "/CheckDetail/Task/Find",
			method: "post",
			data,
		})
	}
	// 获取工作台任务列表-今日已完成
	const _getWorkCompletedList = (data) => {
		return http({
			url: "/CheckDetail/Task/Find/Finish",
			method: "post",
			data,
		})
	}
	// 获取动态列表
	const _getDynamicList = (data) => {
		return http({
			url: "/Check/News",
			method: "post",
			data,
		})
	}
	// 门店模板列表查询
	const _getShopTemplateList = (data) => {
		return http({
			url: "/Check/Template/Dlr/FindList",
			method: "post",
			data,
		})
	}
	// 创建点检模板
	const _createTemplate = (data) => {
		return http({
			url: "/Check/Template/Add",
			method: "post",
			data,
		})
	}
	// 删除模板
	const _deleteTemplate = (id) => {
		return http({
			url: "/Check/Remove?id=" + id,
			method: "post"
		})
	}
	// 获取项目内容
	const _getProjectDetail = (id) => {
		return http({
			url: "/Check/Find?id=" + id,
			method: "get",
		})
	}
	// 模板内添加详情
	const _createProjectDetail = (data) => {
		return http({
			url: "/Check/Template/Add/Detail",
			method: "post",
			data
		})
	}

	// 修改项目内点检明细
	const _editProjectItems = (data) => {
		return http({
			url: "/Check/Template/Modify/Detail",
			method: "post",
			data
		})
	}
	// 修改事项分类名称
	const _editProjectClass = (data) => {
		return http({
			url: "/Check/Template/ModifyClassName",
			method: "post",
			data
		})
	}
	// 微信头像授权后同步个人信息到服务器
	const _syncWechatInfo = (data) => {
		return http({
			url: "/WxOpen/WeChatInfoSync",
			method: "get",
			data
		})
	}
	// 提交点检任务
	const _submitWork = (data) => {
		return http({
			url: "/Check/Add/Single",
			method: "post",
			data
		})
	}
	// 删除图片
	const _deleteCompletedImage = (id) => {
		return http({
			url: "/CheckImg/Remove?id=" + id,
			method: "post",
			data: {
				id,
			}
		})
	}
	// 修改已完成任务
	const _editCompletedWork = (data) => {
		return http({
			url: "/CheckDetail/Modify",
			method: "post",
			data,
		})
	}
	// 查询历史点检记录
	const _getHistoryRecordList = (data) => {
		return httpV2({
			url: "/CheckDetail/Result/FindList",
			method: "post",
			data,
		})
	}
	// 修改个人信息
	const _editPersonInfo = (data) => {
		return http({
			url: "/WxOpen/Modify/User",
			method: "post",
			data,
		})
	}
	// 提交问题反馈
	const _submitFeedback = (data) => {
		return http({
			url: "/Advice/Add",
			method: "post",
			data,
		})
	}
	// 获取历史反馈记录
	const _getHistoryFeedbackList = (data) => {
		return http({
			url: "/Advice/FindList/My",
			method: "post",
			data,
		})
	}
	// 查找用户可切换门店列表
	const _getUserToggleShopList = (data) => {
		return http({
			url: "/WxOpen/FindUserShop",
			method: "post",
			data,
		})
	}
	// 切换门店
	const _toggleShop = (data) => {
		return http({
			url: "/WxOpen/LoginPoint",
			method: "post",
			data,
		})
	}
	// 解析token
	const _analysisToken = () => {
		return http({
			url: "/WxOpen/GetTokenInfo",
			method: "post",
			data: null
		})
	}
	// 获取沃邦点检模板列表
	const _getVaubangWorkTemplateList = (data) => {
		return http({
			url: "/Check/Template/FindList",
			method: "post",
			data
		})
	}
	// 传输用户允许发送订阅消息的openid给服务端
	const _sendSubcribeMessage = (data) => {
		return http({
			url: "/WxOpen/Add/SubscribeMessage",
			method: "post",
			data
		})
	}
	// 修改项目名称
	const _editProjectName = (data) => {
		return http({
			url: "/Check/Template/ModifyName",
			method: "post",
			data
		})
	}
	// 获取报名列表
	const _getApplyList = (data) => {
		return http({
			url: "/Course/FindList",
			method: "post",
			data
		})
	}
	// 提交报名信息
	const _submitApplyInfo = (data) => {
		return http({
			url: "/CourseSignUp/Add",
			method: "post",
			data
		})
	}
	// 获取已报名列表
	const _getAlreadyApplyList = (data) => {
		return http({
			url: "/CourseSignUp/FindList/My",
			method: "post",
			data
		})
	}
	// 修改已报名信息
	const _editAlreadyApplyInfo = (data) => {
		return http({
			url: "/CourseSignUp/Modify",
			method: "post",
			data
		})
	}
	// 删除已报名信息中的人员
	const _deleteAlreadyApplyPerson = (id) => {
		return http({
			url: "/CourseSignUp/Remove?id=" + id,
			method: "post",
		})
	}
	// 删除点检项目下的模块
	const _deleteTemplateItem = (data) => {
		return http({
			url: "/Check/Template/BatchRemove",
			method: "post",
			data
		})
	}
	// 获取点检KPI完成度总览
	const _getKPIstatics = (data) => {
		return http({
			url: "/Check/KPI/Statistics",
			method: "post",
			data
		})
	}
	// 获取点检KPI-按点检模块划分
	const _getKPItemResult = (data) => {
		return http({
			url: "/Check/KPI/Temp",
			method: "post",
			data
		})
	}
	// 获取点检KPI-按点检人员划分
	const _getKPImemberResult = (data) => {
		return http({
			url: "/Check/KPI/Member",
			method: "post",
			data
		})
	}
	// 获取点检KPI-按日期划分
	const _getKPIdateResult = (data) => {
		return http({
			url: "/Check/KPI/Day",
			method: "post",
			data
		})
	}
	// 获取所有用户
	const _getUser = () => {
		return http({
			url: "/WxOpen/Find/Member",
			method: "get",
		})
	}
	// 获取媒体控制权限
	const _getMediaControl = () => {
		return http({
			url: "/WxOpen/on-off",
			method: "get",
		})
	}
	// 获取v2任务分类列表
	const _getWorkListV2 = () => {
		return httpV2({
			url: "/CheckDetail/Task/Find",
			method: "get",
		})
	}

	// 通过车牌号查询养护品Top清单
	const _getProductTop = (lsn) => {
		return http({
			url: "/LsnRecognition/Recommend?lsn=" + lsn,
			method: "get",
		})
	}

	// 导入自定义产品数据
	const _importCusProduct = (data) => {
		return http({
			url: "/DataImport/SubmitUserDefinedProduct",
			method: "post",
			data
		})
	}
	// 获取自定义产品导入记录
	const _getCusProductRecord = (data) => {
		return http({
			url: "/DataImport/UserDefinedLogs",
			method: "post",
			data
		})
	}
	// 清空已导入产品数据
	const _clearImportProductData = () => {
		return http({
			url: "/LsnRecognition/ClearAll",
			method: "post",
		})
	}

	// 获取续保节点
	const _getXubaoNodeList = () => {
		return http({
			url: "/Keep/Node/FindList/XuBao",
			method: "post",
		})
	}
	// 获取定保节点
	const _getDingbaoNodeList = () => {
		return http({
			url: "/Keep/Node/FindList/DingBao",
			method: "post",
		})
	}
	// 续保创建节点
	const _addNode = (data) => {
		return http({
			url: "/Keep/Node/XB/Add",
			method: "post",
			data
		})
	}
	// 修改节点
	const _editNode = (data) => {
		return http({
			url: "/Keep/Node/Modify",
			method: "post",
			data
		})
	}
	// 节点删除
	const _deleteNode = (id) => {
		return http({
			url: "/Keep/Node/Remove?id=" + id,
			method: "post",
			data: {
				id
			}
		})
	}

	// 获取定保维系任务清单
	const _getDBworkList = (data) => {
		return http({
			url: "/Keep/DB/Task/Today",
			method: "post",
			data
		})
	}
	// 获取续保维系任务清单
	const _getXBworkList = (data) => {
		return http({
			url: "/Keep/XB/Task/Today",
			method: "post",
			data
		})
	}
	// 获取维系结果选项
	const _getWxResultList = () => {
		return http({
			url: "/Keep/Result",
			method: "post"
		})
	}

	// 获取续保维系结果选项
	const _getXubaoResultList = () => {
		return http({
			url: "/Keep/xb/Result",
			method: "post"
		})
	}
	// 获取定保维系结果选项
	const _getDingbaoResultList = () => {
		return http({
			url: "/Keep/db/Result",
			method: "post"
		})
	}

	// 提交维系结果
	const _submitWxResult = (data) => {
		return http({
			url: "/Keep/Finish",
			method: "post",
			data
		})
	}

	// 清空定保任务
	const _clearDbWork = () => {
		return http({
			url: "/Keep/Task/DB/Empty",
			method: "post"
		})
	}
	// 清空续保任务
	const _clearXbWork = () => {
		return http({
			url: "/Keep/Task/XB/Empty",
			method: "post"
		})
	}
	// 历史维系记录列表
	const _getHistoryWxList = (data) => {
		return http({
			url: "/Keep/Record",
			method: "post",
			data
		})
	}
	// 任务转移提交
	const _onWorkTransferSubmit = (data) => {
		return http({
			url: "/Keep/Task/Transfer",
			method: "post",
			data
		})
	}

	// 续保KPI汇总
	const _xubaoKPIstatics = (data) => {
		return http({
			url: "/Keep/KPI/Statistics",
			method: "post",
			data
		})
	}

	// 续保节点分布KPI
	const _xubaoNodeKPI = (data) => {
		return http({
			url: "/Keep/KPI/Node",
			method: "post",
			data
		})
	}

	// 续保成员结果分布KPI
	const _xubaoMemberKPI = (data) => {
		return http({
			url: "/Keep/KPI/Member",
			method: "post",
			data
		})
	}

	// 续保战败结果分布KPI
	const _xubaoFailKPI = (data) => {
		return http({
			url: "/Keep/KPI/Failing",
			method: "post",
			data
		})
	}

	// 续保近7日KPI
	const _xubaoDateKPI = (data) => {
		return http({
			url: "/Keep/KPI/Day",
			method: "post",
			data
		})
	}

	// 修改维系结果
	const _editWxResult = (data) => {
		return http({
			url: "/Keep/Modify/Finish",
			method: "post",
			data
		})
	}

	// 维系数据导出
	const _wxDataExport = (data) => {
		return http({
			url: "/Keep/Task/Export",
			method: "post",
			data
		})
	}
	// 导入续保数据
	const _importXubaoData = (data) => {
		return http({
			url: "/DataImport/SubmitInsuranceCustomer",
			method: "post",
			data
		})
	}
	// 导入定保数据
	const _importDingbaoData = (data) => {
		return http({
			url: "/DataImport/SubmitKeepCustomer",
			method: "post",
			data
		})
	}
	// 续保历史上传记录
	const _getXubaoHistoryUploadRecords = (data) => {
		return http({
			url: "/DataImport/InsuranceLogs",
			method: "post",
			data
		})
	}
	// 定保历史上传记录
	const _getDingbaoHistoryUploadRecords = (data) => {
		return http({
			url: "/DataImport/KeepLogs",
			method: "post",
			data
		})
	}

	// 获取已预约客户列表
	const _getAppointmentList = (data) => {
		return http({
			url: "/Keep/Appointment",
			method: "post",
			data
		})
	}

	// 获取定保预约结果KPI
	const _getDbAppointmentKPIdata = (data) => {
		return http({
			url: "/Keep/KPI/DB/SuccessRate",
			method: "post",
			data
		})
	}

	// 获取续保预约结果KPI
	const _getXbAppointmentKPIdata = (data) => {
		return http({
			url: "/Keep/KPI/XB/SuccessRate",
			method: "post",
			data
		})
	}

	// 获取本周签到情况
	const _getCurrentWeekSignDetail = () => {
		return http({
			url: "/SignIn/FindList",
			method: "post"
		})
	}

	// 立即签到
	const _handleSign = () => {
		return http({
			url: "/SignIn/SignIn",
			method: "post"
		})
	}

	// 获取个人积分
	const _getUserIntegral = () => {
		return http({
			url: "/Credits",
			method: "post"
		})
	}

	// 获取积分的收入情况
	const _getIntegralIncome = (data) => {
		return http({
			url: "/Credits/income",
			method: "post",
			data
		})
	}

	// 获取积分支出情况
	const _getIntegralOutput = (data) => {
		return http({
			url: "/Credits/disbursement",
			method: "post",
			data
		})
	}

	// 获取抽奖记录
	const _getLotteryRecord = (data) => {
		return http({
			url: "/LuckyDraw/Prize/Record",
			method: "post",
			data
		})
	}

	// 分享点检记录加积分
	const _shareRecordAddIntegral = () => {
		return http({
			url: "/CheckDetail/Result/ShareCredits",
			method: "post"
		})
	}

	// 9宫格积分抽奖
	const _handleIntegralLottery = (data) => {
		return http({
			url: "/LuckyDraw/LuckyDraw",
			method: "post",
			data
		})
	}

	// 提交收货地址
	const _addressSubmit = (data) => {
		return http({
			url: "/LuckyDraw/Modify/ShipAddress",
			method: "post",
			data
		})
	}

	// 创建卡券
	const _createCoupon = (data) => {
		return http({
			url: "/Marketing/CreateBusifavorStock",
			method: "post",
			data
		})
	}

	// 根据stock_name筛选商家券
	const _handleQueryStockNameCoupon = (stock_name) => {
		return http({
			url: "/Marketing/Busifavor/Find?stockName=" + stock_name,
			method: "get"
		})
	}

	// 查询商家券批次
	const _handleQueryCoupon = (stock_id) => {
		return http({
			url: "/Marketing/QueryBusifavorStock?stock_id=" + stock_id,
			method: "get"
		})
	}

	// 查询已创建的卡券列表
	const _getCouponList = (data) => {
		return http({
			url: "/Marketing/BusifavorStock/FindList",
			method: "post",
			data
		})
	}
	// 获取签名
	const _getSign = (data) => {
		return http({
			url: "/Marketing/CreateSign",
			method: "post",
			data
		})
	}

	// 领取卡券前绑定客户信息（姓名、车牌号、openid）
	const _bindUserInfo = (data) => {
		return http({
			url: "/WxOpen/Pay/UserInfo",
			method: "post",
			data
		})
	}

	// 修改商家券基本信息
	const _editCouponInfo = (data, id) => {
		return http({
			url: "/Marketing/ModifyBusifavorStockInformation/" + id,
			method: "post",
			data
		})
	}

	// 修改商家券批次预算
	const _editCouponBudget = (data, id) => {
		return http({
			url: "/Marketing/ModifyBusifavorStockBudget/" + id,
			method: "post",
			data
		})
	}

	// 核销卡券
	const _chargeCoupon = (data) => {
		return http({
			url: "/Marketing/UseBusifavorCoupon",
			method: "post",
			data
		})
	}

	// 上传营销专用图片
	const _uploadCouponImg = (data) => {
		return http({
			url: "/Marketing/UploadImage",
			method: "post",
			data
		})
	}

	// 图片路径转二进制
	const _imgUrlToBinary = (data) => {
		return http({
			url: "/FileUpload/ImageToByte?path=" + data,
			method: "post"
		})
	}
	// 查询用户卡券openid
	const _findUserOpenid = (data) => {
		return http({
			url: "/Marketing/Customer/Find",
			method: "post",
			data
		})
	}
	// 过滤条件查询指定用户名下卡券
	const _getUserCoupon = (openid, data) => {
		return http({
			url: "/Marketing/QueryBusifavorCoupons/" + openid,
			method: "post",
			data
		})
	}

	// 卡券数量、发放总数统计
	const _getCouponStatics = () => {
		return http({
			url: "/Marketing/Statics",
			method: "post"
		})
	}

	// 卡券近期领取、核销KPI
	const _getRecentCouponKPI = (data) => {
		return http({
			url: "/Marketing/Statics/SendUsed",
			method: "post",
			data
		})
	}

	// 卡券使用率KPI
	const _getCouponUsedRate = (stock_id) => {
		return http({
			url: "/Marketing/Statics/UsedRate?stock_id=" + stock_id,
			method: "get"
		})
	}

	// 提交申请入驻
	const _submitApplyment = (shopid, data) => {
		return http({
			url: "/Marketing/Applyment/" + shopid,
			method: "post",
			data
		})
	}

	// 图片sha256加密
	const _imgSha256 = (data) => {
		return http({
			url: "/Marketing/FileToSHA256",
			method: "post",
			data
		})
	}

	// 获取图片mediaId
	const _imgMediaId = (data) => {
		return http({
			url: "/Marketing/UploadImageMediaId",
			method: "post",
			data
		})
	}
	// 获取商户申请进度
	const _queryMerchantProcess = (shopId) => {
		return http({
			url: "/Marketing/Applyment/ApplymentState?shopId=" + shopId,
			method: "get"
		})
	}

	// 通过业务申请编号查询入驻状态
	const _queryApplymentIdState = (applymentId) => {
		return http({
			url: `/Marketing/Applyment/ApplymentState2/${applymentId}`,
			method: "get"
		})
	}

	// 用户头像修改
	const _editAvatar = (avatarUrl) => {
		return http({
			url: "/WxOpen/Modify/Avata?avatarUrl=" + avatarUrl,
			method: "get"
		})
	}
	// 卡券注册
	const _couponResgistered = (data) => {
		return http({
			url: "/WxOpen/Register/WxOpenPay/User",
			method: "post",
			data
		})
	}
	// 取消报名 - 批量
	const _cancelSignUp = (data) => {
		return http({
			url: "/CourseSignUp/BatchRemove",
			method: "post",
			data
		})
	}

	// 获取任务工作台招揽任务数
	const _getRecruitmentTaskService = (data) => {
		return http({
			url: "/Keep/JobWorkbench/solicit",
			method: "post",
			data
		})
	}

	// 获取维系任务列表
	const getDingbaoWorkList = (data) => {
		return http({
			url: "/Keep/DB/Task/TodayV3",
			method: "post",
			data
		})
	}

	/**
	 * @rfunction 获取门店组织架构
	 */
	const getShopDepartmentList = () => {
		return http({
			url: "/DepartmentInfo/FindListByTree",
			method: "get"
		})
	}
	/**
	 * @function 获取门店下所有用户
	 */
	const getUserList = (data) => {
		return http({
			url: "/User/FindListByDep",
			method: "post",
			data
		})
	}

	/**
	 * @function 任务派发
	 */
	const handleTaskSend = (data) => {
		return http({
			url: "/Keep/Task/Allocating",
			method: "post",
			data
		})
	}

	/**
	 * @function 获取预约客户清单列表
	 * @param {object}  data 接口需要的请求参数
	 */
	const getAppointmentList = (data) => {
		return http({
			url: "/Keep/Appointment",
			method: "post",
			data
		})
	}

	/**
	 * @function 获取该任务vin的客户姓名、联系手机号
	 * @param {string} vin 车架号  
	 */
	const getUserInfoByVin = (vin) => {
		return http({
			url: "/KeepTactics/Customer/CdpInfo?vin=" + vin,
			method: "get"
		})
	}

	/**
	 * @function 主动添加预约
	 * @param {object}  data 接口需要的请求参数 
	 */
	const addAppointment = (data) => {
		return http({
			url: "/Keep/Appointment/Add",
			method: "post",
			data
		})
	}

	// 获取任务类型
	const getSourceService = (data) => {
		return http({
			url: "/Keep/KPI/Source_Statistics",
			method: "post",
			data
		})
	}

	/**
	 * @function 获取导入记录
	 */
	const getTaskImportListService = () => {
		return http({
			url: "/DataImport/TaskImportList",
			method: "get",
		})
	}

	/**
	 * @function 撤回导入记录
	 * @param {string} id 导入记录id  
	 */
	const recallImportRecordService = (id) => {
		return http({
			url: "/DataImport/TaskImportList?id=" + id,
			method: "get",
		})
	}

	// 获取自定义配置字段
	const getBasicInfoConfig = () => {
		return http({
			url: '/KeepTactics/UserDefined/Property/Find',
			method: 'get',
		})
	}
	// 根据vin获取客户信息
	const getClientMessageService = (vin) => {
		return http({
			url: '/KeepTactics/Customer/CdpInfo?vin=' + vin,
			method: 'get',
		})
	}

	// 获取客户信息及标签
	const getCusInfoAndTag = (vin) => {
		return http({
			url: '/KeepTactics/Customer/Info?vin=' + vin,
			method: 'get',
		})
	}

	// 获取客户维修记录
	const getCusMaintainRecord = (data) => {
		return http({
			url: '/Keep/BI/Order' ,
			method: 'get',
			data
		})
	}

	// 根据vin获取客户姓名、手机号、备选手机号
	const getCdpCustomerInfoByVinService = (vin) => {
		return http({
			url: '/KeepTactics/Customer/CdpInfo?vin=' + vin,
			method: 'get',
		})
	}

	// 获取客户平台标签
	const getTagForPla = (data) => {
		return http({
			url: '/KeepTactics/Customer/Tag/Pla',
			method: 'get',
			data
		})
	}

	// 自定义配置基础信息呈现字段
	const submitBasicInfoConfig = (data) => {
		return http({
			url: "/KeepTactics/UserDefined/Property",
			method: "post",
			data
		})
	}

	// 获取连带维系项目列表
	const getTaskBatchList = (data) => {
		return http({
			url: "/Keep/Task/Batch",
			method: "post",
			data
		})
	}

	// 获取事项策略
	const getTransactionStrategyText = (data) => {
		return http({
			url: "/KeepTactics/TaskTips",
			method: "post",
			data
		})
	}

	// 获取重点事项内容
	const getKeyPointsText = (data) => {
		return http({
			url: "/KeepTactics/KeyPointsTips",
			method: "post",
			data
		})
	}
	
	// 获取GRT招揽记录
	const getGrtMaintainRecordList = (vin) => {
		return http({
			url: '/Keep/BI/Customer/GRTTask?vin=' + vin,
			method: 'get',
		})
	}
	
	// 获取客户保养轨迹
	const getCusTrackBehavior = (vin) => {
		return http({
			url: '/Keep/BI/Customer/Track?vin=' + vin,
			method: 'get',
		})
	}
	
	// 获取待更换KV件
	const getCarRetentionProblem = (data) => {
		return http({
			url: '/Keep/BI/Clue/V2',
			method: 'get',
			data
		})
	}
	
	// 获取GRT客户投诉记录
	const getGrtComplaintRecordList = (vin) => {
		return http({
			url: '/Keep/BI/Customer/Complaint?vin=' + vin,
			method: 'get'
		})
	}
	
	// 获取GRT优惠券信息
	const getGrtCouponList = (vin) => {
		return http({
			url: '/Keep/BI/Customer/Coupon?vin=' + vin,
			method: 'get',
		})
	}
	
	// 知识库查询
	const queryknowledges = (ques) => {
		return http({
			url: '/KeepTactics/Script/KeyWords?v=' + ques,
			method: 'get',
		})
	}
	
	// 提交维系结果
	const submitWxResult = (data) => {
		return http({
			url: "/Keep/Finish",
			method: "post",
			data
		})
	}
	
	// 获取今日任务概览
	const getTodayTaskStatics = (data) => {
		return http({
			url: "/Keep/KPI/Statistics/FinishTime",
			method: "post",
			data
		})
	}
	
	// 提交反馈建议
	const feedbackSubmit = (data) => {
		return http({
			url: "/Advice/Add",
			method: "post",
			data
		})
	}
	
	// 查询客户信息
	const getSearchFindService = (data) => {
		return http({
			url: "/MarketingTask/Find",
			method: "post",
			data
		})
	}
	
	// 获取客户维修配件
	const getCusMaintainPart = (orderId) => {
		return http({
			url: '/Keep/BI/Order/Detail?orderId=' + orderId,
			method: 'get',
		})
	}
	
	// 获取重点检查项
	const getKeyCheckItem = (vin) => {
		return http({
			url: "/keep/BI/Clue/Invisible/v2?vin=" + vin,
			method: "get"
		})
	}
	
	// 获取产品推荐列表
	const getProductService = (data) => {
		return http({
			url: "/MarketingTask/Mate/RecomProduct",
			method: "post",
			data
		})
	}
	
	// 获取策略生成器数据
	const getGenerateService = (data) => {
		return http({
			url: "/MarketingTask/Policy/Generate",
			method: "post",
			data
		})
	}
	
	// 获取信息生成器及产品素材
	const getProductMaterialService = (data) => {
		return http({
			url: "/MarketingTask/Information/Generator",
			method: "post",
			data
		})
	}
	
	
	
	
export default {
	getKeyCheckItem,	getProductService,	getGenerateService,	getProductMaterialService,
	getCusMaintainPart,
	getSearchFindService,
	feedbackSubmit,
	getTodayTaskStatics,
	submitWxResult,
	queryknowledges,
	getGrtCouponList,
	getGrtComplaintRecordList,
	getCarRetentionProblem,
	getCusTrackBehavior,
	getGrtMaintainRecordList,
	getKeyPointsText,
	getTransactionStrategyText,
	getTaskBatchList,
	submitBasicInfoConfig,
	getTagForPla,
	getCdpCustomerInfoByVinService,
	getCusMaintainRecord,
	getCusInfoAndTag,
	getClientMessageService,
	getBasicInfoConfig,
	recallImportRecordService,
	getTaskImportListService,
	getSourceService,
	addAppointment,
	getUserInfoByVin,
	getAppointmentList,
	handleTaskSend,
	getDingbaoWorkList,
	_getRecruitmentTaskService,
	getShopDepartmentList,
	getUserList,
	
	// 以上为适配web端接口
	_getCode,
	_checkCode,
	_sendCode,
	_uploadWechatInfo,
	_registeredUser,
	_getRoleList,
	_getWorkDoList,
	_getWorkCompletedList,
	_getDynamicList,
	_getShopTemplateList,
	_createTemplate,
	_deleteTemplate,
	_getProjectDetail,
	_createProjectDetail,
	_editProjectItems,
	_editProjectClass,
	_syncWechatInfo,
	_submitWork,
	_deleteCompletedImage,
	_editCompletedWork,
	_getHistoryRecordList,
	_editPersonInfo,
	_submitFeedback,
	_getHistoryFeedbackList,
	_getUserToggleShopList,
	_toggleShop,
	_analysisToken,
	_getVaubangWorkTemplateList,
	_sendSubcribeMessage,
	_getOpenid,
	_editProjectName,
	_getApplyList,
	_submitApplyInfo,
	_getAlreadyApplyList,
	_editAlreadyApplyInfo,
	_deleteAlreadyApplyPerson,
	_deleteTemplateItem,
	_getKPIstatics,
	_getKPItemResult,
	_getKPImemberResult,
	_getKPIdateResult,
	_getUser,
	_getMediaControl,
	_getWorkListV2,
	_getProductTop,
	_importCusProduct,
	_getCusProductRecord,
	_clearImportProductData,
	_getXubaoNodeList,
	_deleteNode,
	_addNode,
	_editNode,
	_getDBworkList,
	_getWxResultList,
	_submitWxResult,
	_clearDbWork,
	_clearXbWork,
	_getHistoryWxList,
	_onWorkTransferSubmit,
	_xubaoKPIstatics,
	_xubaoDateKPI,
	_xubaoNodeKPI,
	_xubaoMemberKPI,
	_xubaoFailKPI,
	_editWxResult,
	_wxDataExport,
	_importXubaoData,
	_getXubaoHistoryUploadRecords,
	_getXBworkList,
	_importDingbaoData,
	_getDingbaoHistoryUploadRecords,
	_getDingbaoNodeList,
	_getXubaoResultList,
	_getDingbaoResultList,
	_getAppointmentList,
	_getDbAppointmentKPIdata,
	_getXbAppointmentKPIdata,
	_getCurrentWeekSignDetail,
	_handleSign,
	_getUserIntegral,
	_getIntegralIncome,
	_getIntegralOutput,
	_getLotteryRecord,
	_shareRecordAddIntegral,
	_handleIntegralLottery,
	_addressSubmit,
	_createCoupon,
	_handleQueryCoupon,
	_getCouponList,
	_getSign,
	_bindUserInfo,
	_editCouponInfo,
	_editCouponBudget,
	_chargeCoupon,
	_uploadCouponImg,
	_imgUrlToBinary,
	_findUserOpenid,
	_getUserCoupon,
	_getCouponStatics,
	_getRecentCouponKPI,
	_getCouponUsedRate,
	_submitApplyment,
	_imgSha256,
	_imgMediaId,
	_queryMerchantProcess,
	_editAvatar,
	_couponResgistered,
	_cancelSignUp,
	_queryApplymentIdState,
	_handleQueryStockNameCoupon
}